<?php
namespace Admin\Controller;
use Common\Controller\AdminBaseController;

class PlannerController extends AdminBaseController {
    
	//根据id取姓名
	public function getplnamebyid($id=0){
		$planner = M("planner");
        $name = $planner->where('id='.$id)->getField('name');
        return $name;
	}
}